package com.reverie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Rui.Zhou
 * @since 2024-02-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("mh_cart")
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rec_id", type = IdType.AUTO)
    private Integer recId;

    private Integer userId;

    private String sessionId;

    private Integer goodsId;

    private String goodsSn;

    private Integer productId;

    private String goodsName;

    private BigDecimal marketPrice;

    private BigDecimal goodsPrice;

    private Short goodsNumber;

    private String goodsAttr;

    private Byte isReal;

    private String extensionCode;

    private Integer parentId;

    private Byte recType;

    private Short isGift;

    private Byte isShipping;

    private Byte canHandsel;

    private String goodsAttrId;

    private String exCode;

    private Boolean checked;

    private String flavorName;
}
